//
//  OEAboutUsViewController.m
//  OneEightyNine
//
//  Created by apple on 2019/3/6.
//  Copyright © 2019 stoneobs. All rights reserved.
//

#import "OEAboutUsViewController.h"

@interface OEAboutUsViewController ()

@end

@implementation OEAboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = OESTRING(@"ABOUT US");
    [self configSubView];
    // Do any additional setup after loading the view.
}
#pragma mark --configSubView
- (void)configSubView{
    UIView * header = [[UIView alloc] initWithFrame:CGRectMake(0, 0, UIScreenWidth, 100)];
    
    UIImageView * imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"180×132LOGO"]];
    imageView.top = 80;
    imageView.centerX = UIScreenWidth/2;
    [header addSubview:imageView];
    
    STLabel * verLabel = [[STLabel alloc] initWithFrame:CGRectMake(0, imageView.bottom + 20, UIScreenWidth, 44)
                                                    text:[NSString stringWithFormat:@"v%@",NSBundle.st_applictionVersin]
                                               textColor:SecendTextColor
                                                    font:13
                                             isSizetoFit:NO
                                           textAlignment:NSTextAlignmentCenter];
    [header addSubview:verLabel];
    header.height = verLabel.bottom;
    self.tableView.tableHeaderView = header;
    
    STLabel * alertLabel = [[STLabel alloc] initWithFrame:CGRectMake(0, 0, UIScreenWidth, 70)
                                                   text:@"Service agreement\nCopyright©2018-2020Reciclar"
                                              textColor:SecendTextColor
                                                   font:13
                                            isSizetoFit:NO
                                          textAlignment:NSTextAlignmentCenter];
    [self.view addSubview:alertLabel];
    alertLabel.bottom = TMUtils.tabBarTop + 49;
}

@end
